﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;

/* Generated  */
namespace EDMXParserV1
{
        [Serializable]
    public class ReturnType
    {
        public CollectionType CollectionType { get; set; }

        public static ReturnType New(System.Xml.XmlNode Node)
        {
            ReturnType ReturnType = new ReturnType();

            foreach (XmlAttribute Attribute in Node.Attributes)
            {
                switch (Attribute.Name)
                {
                    default:
                        Globals.AttributeSwitchCoder(Attribute);
                        break;
                }

            }

            foreach (XmlNode ChildNode in Node.ChildNodes)
            {
                switch (ChildNode.Name)
                {
                    case "CollectionType":
                        ReturnType.CollectionType = CollectionType.New( ChildNode);
                        break;
                    default:
                        Globals.NodeSwitchCoder(ChildNode);
                        break;
                }
            }

            return ReturnType;
        }
    }
}
